# -*-coding:utf-8-*-


def sum(num1,num2):
    """
    计算2个数的和
    :param num1:
    :param num2:
    :return:
    """
    result = num1 + num2
    print("%d + %d = %d" %(num1, num2, result))


def minus(num1,num2):
    """
    计算2个数的差
    :param sum1:
    :param num2:
    :return:
    """
    result = num1 - num2
    print("%d - %d = %d" %(num1, num2, result))


sum(1,2)
minus(5,2)